﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using TLL.Finance.Currencys;

namespace TLL.Finance.BankSys
{
    public class BankCard
    {
        private string name = string.Empty;
        private string number = string.Empty;
        private CurrencyType currency = default(CurrencyType);
        private double balance = 0;

        public string Name { get { return this.name; } }
        public string Number { get { return this.number; } }
        public CurrencyType Currency { get { return this.currency; } }
        public double Balance { get { return this.balance; } }

        public BankCard(string name, string number, CurrencyType currency, double balance)
        {
            this.name = name;
            this.number = number;
            this.currency = currency;
            this.balance = balance;
        }
    }
}
